//
//  ANGoodsListController.h
//  WeiYiMei
//
//  Created by iMac on 2019/4/23.
//  Copyright © 2019年 liyefu. All rights reserved.
//

#import "ANBaseViewController.h"
#import "GoodsEntity.h"

NS_ASSUME_NONNULL_BEGIN

typedef enum : NSUInteger {
    ANGoodsListControllerTypeShowMore,  // 商户详情中点击更多
    ANGoodsListControllerTypeAppointment, // 预约选择项目
} ANGoodsListControllerType;

typedef void(^didSelectGoodsHandler)(GoodsEntity *entity);

@interface ANGoodsListController : ANBaseViewController

@property (nonatomic, copy) NSString *consumerId;//商户id

@property (nonatomic) ANGoodsListControllerType type;

// type == ANGoodsListControllerTypeAppointment 时才有
@property (nonatomic, copy) didSelectGoodsHandler didSelectGoodsHandler;

@end

NS_ASSUME_NONNULL_END
